import com.xsh.Card;
//import Global;

public class Main
{
    public static void main(String args[])
    {
     /*   public static Card[] fliped = new Card[3];
        Card card1 = new Card();
        Card card2 = new Card();
        Card card3 = new Card();
        Card card4 = new Card();
        card1.texture = Global.TextureTypes.Zero;
        card2.texture = Global.TextureTypes.Zero;
        card3.texture = Global.TextureTypes.One;
        card4.texture = Global.TextureTypes.Twos;

        fliped.append(card1);
        fliped.append(card2);
        fliped.append(card3);

        on_flip(card1);
        on_flip(card2);
        on_flip(card3);*/
    }
    // 点击翻转了卡片
    public static void on_flip(Card p)
    {
        /*p.fliped = true;
        fliped.append(p);
        
        if(fliped.length == 3)
        {
            if(fliped[0].texture == fliped[1].texture)
            {
                System.out.println("card1和card2可以消除");
                fliped[0].destory();
                fliped[1].destory();
            }
        }*/
    }
}